<?php
Class Download
{


	
	function mytask()
	{
		if($_POST["act"] == "submit")
		{
		//$filename = "/video/7iGQVyn8rqs/images/deco/7iGQVyn8rqs_00.gif";
		$filename = "/video/softbank_total_001.3gp";
		//$handle = fopen($filename, "rb");
		//$contents = fread($handle, filesize($filename));
		//fclose($handle);
		//fclose($handle);
		header('Content-Type: video/3gpp');
		header('Cache-Control: no-cache');
		//header('x-jphone-copyright: no-store');
		//header("Content-disposition: 89_003.3gp");
		//header("Content-Type: application/x-dcm-fullmusic");
		//header("Content-Type: image/gif");
		header("Content-Length: ".filesize($filename));
	//	print(fread($handle, filesize($filename)));
		//echo $contents;
		header("x-jphone-copyright: no-transfer");
		readfile($filename);
		//echo file_get_contents($filename);
		}
	}	
}
?>